Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 4, 2026

Summary

  • Extract shared quantifier_operator_kind helper from duplicate pattern-matching logic
  • Simplify is_skippable_quantifier and is_star_or_plus_quantifier to use the helper
  • Reduces code from 41 lines to 34 lines with clearer intent

This is a pure refactoring with no behavioral changes — both functions now consistently unwrap CapturedExpr (which was already the case in practice at all call sites).

@zharinov zharinov enabled auto-merge (squash) January 4, 2026 03:13
@zharinov zharinov merged commit 52dec2d into master Jan 4, 2026
4 checks passed
@zharinov zharinov deleted the refactor/extract-quantifier-helper branch January 4, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants